{"ast":null,"code":"import apiClient from \"../http\";\nimport { deleteMembership } from \"../routes\";\nexport default class MembershipService {\n  static async deleteMembership(membershipId) {\n    return apiClient.delete(deleteMembership(membershipId.toString()));\n  }\n}","map":{"version":3,"names":["apiClient","deleteMembership","MembershipService","membershipId","delete","toString"],"sources":["/data/messenger.client/src/services/MembershipService.ts"],"sourcesContent":["import apiClient from \"../http\";\nimport {AxiosResponse} from 'axios';\nimport {deleteMembership} from \"../routes\"\nimport {DeleteMembershipResponse} from \"../models/response/Other/DeleteMembershipResponse\";\n\nexport default class MembershipService {\n    public static async deleteMembership(membershipId: number): Promise<AxiosResponse<DeleteMembershipResponse>> {\n        return apiClient.delete<DeleteMembershipResponse>(deleteMembership(membershipId.toString()));\n    }\n}"],"mappings":"AAAA,OAAOA,SAAS,MAAM,SAAS;AAE/B,SAAQC,gBAAgB,QAAO,WAAW;AAG1C,eAAe,MAAMC,iBAAiB,CAAC;EACnC,aAAoBD,gBAAgB,CAACE,YAAoB,EAAoD;IACzG,OAAOH,SAAS,CAACI,MAAM,CAA2BH,gBAAgB,CAACE,YAAY,CAACE,QAAQ,EAAE,CAAC,CAAC;EAChG;AACJ"},"metadata":{},"sourceType":"module"}